home *** CD-ROM | disk | FTP | other *** search
- Path: gate.net!not-for-mail
- From: feathers@gate.net (Michael Feathers)
- Newsgroups: comp.lang.ada,comp.lang.c++,comp.lang.c,comp.lang.modula3,comp.lang.modula2,comp.lang.eiffel
- Subject: Re: Hungarian notation
- Followup-To: comp.lang.ada,comp.lang.c++,comp.lang.c,comp.lang.modula3,comp.lang.modula2,comp.lang.eiffel
- Date: 3 Jan 1996 19:55:11 -0500
- Organization: CyberGate, Inc.
- Message-ID: <4cf8hf$8fe@hopi.gate.net>
- References: <30C40F77.53B5@swsbbs.com> <marnoldDJEvtJ.1Lx@netcom.com> <4aleun$jlk@ns.RezoNet.NET> <marnoldDJMDBG.CFz@netcom.com> <4asnkr$7b0@solutions.solon.com> <4ath75$e7i@barnacle.iol.ie> <4b4kij$svt@news.microsoft.com> <dewar.819489496@schonberg> <4bd
- <4cc2b2$11jq@navajo.gate.net> <4cca41$3l5@weck.brokersys.com>
- NNTP-Posting-Host: hopi.gate.net
- X-Newsreader: TIN [UNIX 1.3 950824BETA PL0]
-
- jguthrie@brokersys.com wrote:
- : Michael Feathers (feathers@gate.net) wrote:
- :
- : : Where I work, all the truly portable code is written in terms of
- : : typedefs. We alter the typedefs in an include file to alter data
- : : sizes and performance characeristic, and our variant of Hungarian
- : : uses these type names.
- :
- : Why don't you just abandon the type declarations completely and use a
- : prefix on the variable names to define the type? Hey, wait a minute.
- : I've seen this BEFORE! What was it called? FORTRAN, wasn't it? And
- : how about how those old microcomputer BASICs used suffixes to determine
- : types?
- :
- : The more things change, the more they stay the same.
-
- Maybe there's a reason for that ;-)
-
- : My attitude remains the same: Any naming convention works better than
- : none, but embedding the type in the name is probably a bad idea.
-
- I really don't see why. Hungarian is particularly useful in the
- presence of polymorphism.
-
- How can it hurt?
-
-
-